home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 January / PCWorld_2007-01_cd.bin / v cisle / autoit / autoit-v3.2.0.1-setup.exe / Examples / Helpfile / ProcessWaitClose.au3 < prev    next >
Text File  |  2006-06-17  |  205b  |  7 lines

  1. ;waits until no instance of notepad.exe exists
  2. ProcessWaitClose("notepad.exe")
  3.  
  4. ; This will wait until this particular instance of notepad has exited
  5. $PID = Run("notepad.exe")
  6. ProcessWaitClose($PID)
  7.